<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%-- JSTL表达式（判断，循环，输出） --%>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> <%-- 方法表达式（字符串截取，替换） --%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>活动收藏</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge，chrome=1">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
    <meta name="renderer" content="webkit">
    <meta name="baidu-site-verification" content="R9XA5lWxu2"/>
    <meta name="author" content="图腾">
    <meta name="keywords" content="图腾">
    <meta name="description" content="图腾">
    <link rel="stylesheet" href="<%=basePath%>plugins/swiper/css/swiper.min.css">
    <link rel="stylesheet" href="<%=basePath%>css/ys.css">
</head>
<body>

<jsp:include page="${basePath}/common.jsp" />

<div class="reservation-box  text-center">
    <div class="title">
       我的收藏<br>
        <span>TOTEM</span>
    </div>
</div>

<div class="container reservation-list-wrap" id="activitys">
    <%--<div class="reservation-list">
        <c:forEach var="activity" items="${pageBean.list}" varStatus="status">
        <section class="reservation pic-big-box">
            <a href="reservation_detail.jsp">
                <div class="link-box transition">
                    <span>活动详情</span>
                </div>
                <div class="tag">
                    <img src="<%=basePath%>images/tag.png">
                </div>
                <div class="pic-box transition" >
                    <img src="<%=basePath%>${activity.activityPic}">
                </div>
                <div class="content text-center">
                    <div class="title">
                        ${activity.activityName}<br>
                        <span>${activity.activityTitle}</span>
                    </div>
                    &lt;%&ndash;<div class="original">￥ 1,799.00</div>&ndash;%&gt;
                    <div class="price">￥ ${activity.activityPrice}</div>
                </div>
            </a>
        </section>
        </c:forEach>
    </div>--%>
</div>
<div class="btn-more text-center" id="loadActivitys">
    <a href="javascript:;" onclick="load()">加载更多</a>
</div>
<jsp:include page="${basePath}/footer.jsp" />


<script src="<%=basePath%>js/jquery.min.js"></script>
<script src="<%=basePath%>plugins/swiper/js/swiper.min.js"></script>
<script src="<%=basePath%>js/modal_build.js"></script>
<script src="<%=basePath%>js/modal_show.js"></script>

<script>
    document.documentElement.style.fontSize = 200 / 1920 * document.documentElement.clientWidth + 'px';
    window.onresize = function () {
        document.documentElement.style.fontSize = 200 / 1920 * document.documentElement.clientWidth + 'px';
    };
    var page = 0;

    load();

    function load(){
        page++;
        $.post("<%=basePath%>activity/getActivitys_My", {page: page}, function (data) {
            $("#activitys").append(data);
        });
    }
</script>

</body>
</html>